Add gtk_application_prefers_app_menu()
authorRyan Lortie <desrt@desrt.ca>
Mon, 30 Jun 2014 16:16:19 +0000 (12:16 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 3 Jul 2014 00:17:34 +0000 (20:17 -0400)
commitd3b34d3cf2caa19dc67e99df67c4b8cc1d4455df
tree610a3b9b8916971e1d99efdb7c6c447e02533715
parentd8934ea23325ffb01e74529112b793b1f9939729
Add gtk_application_prefers_app_menu()

Applications can call this to determine if they should an app menu.
This will be %FALSE on desktop environments that do not have an
application menu like the one in gnome-shell.  It is %FALSE on Windows
and Mac OS.

Applications are completely free to totally ignore this API -- it is
only provided as a hint to help applications that may be interested in
supporting non-GNOME platforms with a more native 'look and feel'.

https://bugzilla.gnome.org/show_bug.cgi?id=722092
docs/reference/gtk/gtk3-sections.txt
gtk/gtkapplication-dbus.c
gtk/gtkapplication.c
gtk/gtkapplication.h
gtk/gtkapplicationimpl.c
gtk/gtkapplicationprivate.h